package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.dto.MerchantTradeAmountRandomRuleDTO;
import com.ayf.payment.game.api.entity.MerchantTradeAmountRandomRule;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.math.BigDecimal;
import java.util.List;

public interface MerchantTradeAmountRandomRuleMapper extends Mapper<MerchantTradeAmountRandomRule> {

    List<MerchantTradeAmountRandomRuleDTO> getMerchantTradeAmountRandomRuleList(MerchantTradeAmountRandomRuleDTO merchantTradeAmountRandomRule);

    MerchantTradeAmountRandomRule getMerchantTradeAmountRandomRule(@Param("merchantId") Integer merchantId, @Param("checkAmt") BigDecimal checkAmt);
}